描边端点(StrokeCap)
定义开放描边段末端形状:
butt:方形,不超出端点round:半圆端点square:方形,超出端点
self.paint = Paint.with({
color = Color.rgb(255, 100, 50),
cap = 'round',
style = 'stroke',
})
定义开放描边段末端形状:
butt:方形,不超出端点round:半圆端点square:方形,超出端点self.paint = Paint.with({
color = Color.rgb(255, 100, 50),
cap = 'round',
style = 'stroke',
})